package net.lab1024.sa.base.common.code;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum SynthesisErrorCode implements ErrorCode {
    UPDATE_RECORD(40001, "修改合成记录"),
    ANALYZE_SMILES(40002, "生成合成记录");;


    private final int code;

    private final String msg;

    private final String level;

    SynthesisErrorCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
        this.level = LEVEL_SYNTHESIS;
    }
}
